package com.yohann.designPattern.factory.simpleFactory.pizza;

/**
 * <p>
 * 披萨🍕
 * </p>
 *
 * @author Yohann
 * @since 2021/2/1 13:11
 */
public abstract class Pizza {
    public abstract void prepare();

    public void bake() {
        System.out.println("bake");
    }

    public void cut() {
        System.out.println("cut");
    }

    public void box() {
        System.out.println("box");
    }
}